Scenario #5100: Query Relations by Contact

Properties

Required

Given

name value
contactUuid df5801c0-49bd-4924-af68-3c4a8b37ae2a

Query Relations

HTTP GET "/api/hs/office/relations?personUuid=6e02bc9b-f056-4111-a571-960571fd7d99&contactUuid=df5801c0-49bd-4924-af68-3c4a8b37ae2a" // Contact: Michelle Matthieu \
  -H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
  `# {` \
  `#   "sub" : "uuid<hsh-alex_superuser>"` \
  `# }`
=> status: 200 OK 
[ {
  "uuid" : "5298cf58-3e27-4562-96d7-a76e5a14ad12",
  "anchor" : {
    "uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // personUuid
    "personType" : "NATURAL_PERSON",
    "tradeName" : null,
    "salutation" : null,
    "title" : null,
    "givenName" : "Michelle",
    "familyName" : "Matthieu-Zhang"
  },
  "holder" : {
    "uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // personUuid
    "personType" : "NATURAL_PERSON",
    "tradeName" : null,
    "salutation" : null,
    "title" : null,
    "givenName" : "Michelle",
    "familyName" : "Matthieu-Zhang"
  },
  "type" : "DEBITOR",
  "mark" : null,
  "contact" : {
    "uuid" : "df5801c0-49bd-4924-af68-3c4a8b37ae2a", // Contact: Michelle Matthieu
    "caption" : "Michelle Matthieu",
    "postalAddress" : {
      "zipcode" : "22123",
      "country" : "Germany",
      "city" : "Hamburg",
      "street" : "An der Wandse 34",
      "name" : "Michelle Matthieu"
    },
    "emailAddresses" : {
      "main" : "michelle@matthieu.example.org"
    },
    "phoneNumbers" : {
      "mobile" : "+49 152 1234567"
    }
  }
}, {
  "uuid" : "854e89b8-2c77-48fd-b859-701dc7b18897",
  "anchor" : {
    "uuid" : "c43fc218-ae0e-4d6d-afc9-528d9861c2eb", // Person: Hostsharing eG
    "personType" : "LEGAL_PERSON",
    "tradeName" : "Hostsharing eG",
    "salutation" : null,
    "title" : null,
    "givenName" : null,
    "familyName" : null
  },
  "holder" : {
    "uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // personUuid
    "personType" : "NATURAL_PERSON",
    "tradeName" : null,
    "salutation" : null,
    "title" : null,
    "givenName" : "Michelle",
    "familyName" : "Matthieu-Zhang"
  },
  "type" : "PARTNER",
  "mark" : null,
  "contact" : {
    "uuid" : "df5801c0-49bd-4924-af68-3c4a8b37ae2a", // Contact: Michelle Matthieu
    "caption" : "Michelle Matthieu",
    "postalAddress" : {
      "zipcode" : "22123",
      "country" : "Germany",
      "city" : "Hamburg",
      "street" : "An der Wandse 34",
      "name" : "Michelle Matthieu"
    },
    "emailAddresses" : {
      "main" : "michelle@matthieu.example.org"
    },
    "phoneNumbers" : {
      "mobile" : "+49 152 1234567"
    }
  }
} ]

generated on 2026-08-10 04:42:28 for branch HEAD